package sgi.message;
/**sets query and variables for logging off*/
@SuppressWarnings("serial")
public class MessageLogoff extends Message {
	
	private String username;
	private String password;
	
	public MessageLogoff(String username,String password)
	{
		super("update users set userOnline='0' where username = '" + username +  "' AND password = '" + password + "'");
		this.setUsername(username);
		this.setPassword(password);
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


}
